// 以下文件格式为描述路由的协议格式
// 你可以调整 routerConfig 里的内容
// 变量名 routerConfig 为 iceworks 检测关键字，请不要修改名称

import HeaderAsideLayout from './layouts/HeaderAsideLayout';
import Dashboard from './pages/Dashboard';
import AddPeople from './pages/AddPeople';
import AddPosition from './pages/AddPosition';
import EditPosition from './pages/EditPosition';
import MyPeople from './pages/MyPeople';
import MyPosition from './pages/MyPosition';
import OrderEveryMonth from './pages/OrderEveryMonth';
import ReportedList from './pages/ReportedList';
import NotFound from './pages/NotFound';
import TobeVerify from './pages/TobeVerify';
import Lietous from './pages/Lietous';
import Boles from './pages/Boles';
import ToudiManage from './pages/ToudiManage';
import Boleyeji from './pages/Boleyeji';
import Lietouguanli from './pages/Lietouguanli';
import OrderPage from './pages/OrderPage';

const routerConfig = [
  {
    path: '/',
    layout: HeaderAsideLayout,
    component: Dashboard,
  },
  {
    path: '/orderManage',
    layout: HeaderAsideLayout,
    component: OrderPage,
  },
  {
    path: '/lietouManage',
    layout: HeaderAsideLayout,
    name: 'lietouManage',
    component: Lietous,
  },
  {
    path: '/addPeople',
    layout: HeaderAsideLayout,
    component: AddPeople,
  },
  {
    path: '/addPosition',
    layout: HeaderAsideLayout,
    component: AddPosition,
  },
  {
    path: '/editPosition/:id',
    layout: HeaderAsideLayout,
    component: EditPosition,
  },
  {
    path: '/myPeople',
    layout: HeaderAsideLayout,
    component: MyPeople,
  },
  {
    path: '/boleManage',
    layout: HeaderAsideLayout,
    component: Boles,
  },
  {
    path: '/tobeVerify',
    layout: HeaderAsideLayout,
    component: TobeVerify,
  },
  {
    path: '/myPosition',
    layout: HeaderAsideLayout,
    name: 'myPosition',
    component: MyPosition,
  },
  {
    path: '/orderEveryMonth',
    layout: HeaderAsideLayout,
    component: OrderEveryMonth,
  },
  {
    path: '/ReportedList',
    layout: HeaderAsideLayout,
    component: ReportedList,
  },
  {
    path: '/toudiManage',
    layout: HeaderAsideLayout,
    component: ToudiManage,
  },
  {
    path: '/boleyeji',
    layout: HeaderAsideLayout,
    component: Boleyeji,
  },
  {
    path: '/lietouguanli',
    layout: HeaderAsideLayout,
    component: Lietouguanli,
  },
  {
    path: '*',
    layout: HeaderAsideLayout,
    component: NotFound,
  },
];

export default routerConfig;
